.class Les/dx$b;
.super Landroid/content/BroadcastReceiver;
.source "DlnaNotificationManager.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Les/dx;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x2
    name = "b"
.end annotation


# instance fields
.field final synthetic a:Les/dx;


# direct methods
.method private constructor <init>(Les/dx;)V
    .locals 0

    .line 1
    iput-object p1, p0, Les/dx$b;->a:Les/dx;

    invoke-direct {p0}, Landroid/content/BroadcastReceiver;-><init>()V

    return-void
.end method

.method synthetic constructor <init>(Les/dx;Les/dx$a;)V
    .locals 0

    .line 2
    invoke-direct {p0, p1}, Les/dx$b;-><init>(Les/dx;)V

    return-void
.end method


# virtual methods
.method public onReceive(Landroid/content/Context;Landroid/content/Intent;)V
    .locals 1

    if-eqz p2, :cond_4

    const/4 p1, -0x1

    const-string v0, "dlna_notification_id_key"

    .line 1
    invoke-virtual {p2, v0, p1}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I

    move-result v0

    if-ne v0, p1, :cond_0

    return-void

    .line 2
    :cond_0
    invoke-virtual {p2}, Landroid/content/Intent;->getAction()Ljava/lang/String;

    move-result-object p1

    const-string p2, "com.estrongs.android.pop.intent.DLNA_NOTIFY"

    invoke-virtual {p2, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_4

    .line 3
    iget-object p1, p0, Les/dx$b;->a:Les/dx;

    invoke-static {p1}, Les/dx;->a(Les/dx;)I

    move-result p1

    if-eq v0, p1, :cond_1

    .line 4
    iget-object p1, p0, Les/dx$b;->a:Les/dx;

    invoke-static {p1, v0}, Les/dx;->a(Les/dx;I)V

    .line 5
    iget-object p1, p0, Les/dx$b;->a:Les/dx;

    invoke-static {p1}, Les/dx;->b(Les/dx;)V

    .line 6
    invoke-static {}, Lcom/estrongs/android/statistics/b;->b()Lcom/estrongs/android/statistics/b;

    move-result-object p1

    const-string p2, "cast_noti_click"

    invoke-virtual {p1, p2}, Lcom/estrongs/android/statistics/b;->d(Ljava/lang/String;)V

    goto :goto_0

    .line 7
    :cond_1
    invoke-static {}, Lcom/estrongs/android/pop/FexApplication;->n()Lcom/estrongs/android/pop/FexApplication;

    move-result-object p1

    invoke-virtual {p1}, Lcom/estrongs/android/pop/FexApplication;->h()Z

    move-result p1

    if-eqz p1, :cond_3

    .line 8
    invoke-static {}, Lcom/estrongs/android/pop/esclasses/ESActivity;->z()Landroid/app/Activity;

    move-result-object p1

    .line 9
    instance-of p2, p1, Lcom/estrongs/android/pop/view/FileExplorerActivity;

    if-eqz p2, :cond_2

    .line 10
    check-cast p1, Lcom/estrongs/android/pop/view/FileExplorerActivity;

    const-string p2, "dlna_device://"

    invoke-virtual {p1, p2}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->j(Ljava/lang/String;)Lcom/estrongs/android/view/FileGridViewWrapper;

    goto :goto_0

    .line 11
    :cond_2
    iget-object p1, p0, Les/dx$b;->a:Les/dx;

    invoke-static {p1}, Les/dx;->b(Les/dx;)V

    goto :goto_0

    .line 12
    :cond_3
    iget-object p1, p0, Les/dx$b;->a:Les/dx;

    invoke-static {p1}, Les/dx;->b(Les/dx;)V

    :cond_4
    :goto_0
    return-void
.end method
